// WechatPushRecord.java
package com.baoyouqun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("wechat_push_record")
public class WechatPushRecord {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("推送标题")
    private String title;

    @ApiModelProperty("推送内容")
    private String content;

    @ApiModelProperty("筛选条件JSON")
    private String filterConditions; // 存储筛选参数快照

    @ApiModelProperty("推送时间")
    private LocalDateTime pushTime;

    @ApiModelProperty("推送状态：0-待推送 1-已推送 2-失败")
    private Integer status;

    @ApiModelProperty("推送用户数")
    private Integer userCount;

    @ApiModelProperty("创建人ID")
    private String createBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
}